package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SteelplantProducetaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SteelplantProducetaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeIsNull() {
            addCriterion("producetask_code is null");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeIsNotNull() {
            addCriterion("producetask_code is not null");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeEqualTo(String value) {
            addCriterion("producetask_code =", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeNotEqualTo(String value) {
            addCriterion("producetask_code <>", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeGreaterThan(String value) {
            addCriterion("producetask_code >", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeGreaterThanOrEqualTo(String value) {
            addCriterion("producetask_code >=", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeLessThan(String value) {
            addCriterion("producetask_code <", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeLessThanOrEqualTo(String value) {
            addCriterion("producetask_code <=", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeLike(String value) {
            addCriterion("producetask_code like", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeNotLike(String value) {
            addCriterion("producetask_code not like", value, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeIn(List<String> values) {
            addCriterion("producetask_code in", values, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeNotIn(List<String> values) {
            addCriterion("producetask_code not in", values, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeBetween(String value1, String value2) {
            addCriterion("producetask_code between", value1, value2, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_codeNotBetween(String value1, String value2) {
            addCriterion("producetask_code not between", value1, value2, "producetask_code");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameIsNull() {
            addCriterion("producetask_name is null");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameIsNotNull() {
            addCriterion("producetask_name is not null");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameEqualTo(String value) {
            addCriterion("producetask_name =", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameNotEqualTo(String value) {
            addCriterion("producetask_name <>", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameGreaterThan(String value) {
            addCriterion("producetask_name >", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameGreaterThanOrEqualTo(String value) {
            addCriterion("producetask_name >=", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameLessThan(String value) {
            addCriterion("producetask_name <", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameLessThanOrEqualTo(String value) {
            addCriterion("producetask_name <=", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameLike(String value) {
            addCriterion("producetask_name like", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameNotLike(String value) {
            addCriterion("producetask_name not like", value, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameIn(List<String> values) {
            addCriterion("producetask_name in", values, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameNotIn(List<String> values) {
            addCriterion("producetask_name not in", values, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameBetween(String value1, String value2) {
            addCriterion("producetask_name between", value1, value2, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andProducetask_nameNotBetween(String value1, String value2) {
            addCriterion("producetask_name not between", value1, value2, "producetask_name");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathIsNull() {
            addCriterion("producetask_filepath is null");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathIsNotNull() {
            addCriterion("producetask_filepath is not null");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathEqualTo(String value) {
            addCriterion("producetask_filepath =", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathNotEqualTo(String value) {
            addCriterion("producetask_filepath <>", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathGreaterThan(String value) {
            addCriterion("producetask_filepath >", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathGreaterThanOrEqualTo(String value) {
            addCriterion("producetask_filepath >=", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathLessThan(String value) {
            addCriterion("producetask_filepath <", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathLessThanOrEqualTo(String value) {
            addCriterion("producetask_filepath <=", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathLike(String value) {
            addCriterion("producetask_filepath like", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathNotLike(String value) {
            addCriterion("producetask_filepath not like", value, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathIn(List<String> values) {
            addCriterion("producetask_filepath in", values, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathNotIn(List<String> values) {
            addCriterion("producetask_filepath not in", values, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathBetween(String value1, String value2) {
            addCriterion("producetask_filepath between", value1, value2, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andProducetask_filepathNotBetween(String value1, String value2) {
            addCriterion("producetask_filepath not between", value1, value2, "producetask_filepath");
            return (Criteria) this;
        }

        public Criteria andFile_countIsNull() {
            addCriterion("file_count is null");
            return (Criteria) this;
        }

        public Criteria andFile_countIsNotNull() {
            addCriterion("file_count is not null");
            return (Criteria) this;
        }

        public Criteria andFile_countEqualTo(Integer value) {
            addCriterion("file_count =", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countNotEqualTo(Integer value) {
            addCriterion("file_count <>", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countGreaterThan(Integer value) {
            addCriterion("file_count >", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countGreaterThanOrEqualTo(Integer value) {
            addCriterion("file_count >=", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countLessThan(Integer value) {
            addCriterion("file_count <", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countLessThanOrEqualTo(Integer value) {
            addCriterion("file_count <=", value, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countIn(List<Integer> values) {
            addCriterion("file_count in", values, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countNotIn(List<Integer> values) {
            addCriterion("file_count not in", values, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countBetween(Integer value1, Integer value2) {
            addCriterion("file_count between", value1, value2, "file_count");
            return (Criteria) this;
        }

        public Criteria andFile_countNotBetween(Integer value1, Integer value2) {
            addCriterion("file_count not between", value1, value2, "file_count");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatoridIsNull() {
            addCriterion("creatorid is null");
            return (Criteria) this;
        }

        public Criteria andCreatoridIsNotNull() {
            addCriterion("creatorid is not null");
            return (Criteria) this;
        }

        public Criteria andCreatoridEqualTo(Long value) {
            addCriterion("creatorid =", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotEqualTo(Long value) {
            addCriterion("creatorid <>", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridGreaterThan(Long value) {
            addCriterion("creatorid >", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridGreaterThanOrEqualTo(Long value) {
            addCriterion("creatorid >=", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridLessThan(Long value) {
            addCriterion("creatorid <", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridLessThanOrEqualTo(Long value) {
            addCriterion("creatorid <=", value, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridIn(List<Long> values) {
            addCriterion("creatorid in", values, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotIn(List<Long> values) {
            addCriterion("creatorid not in", values, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridBetween(Long value1, Long value2) {
            addCriterion("creatorid between", value1, value2, "creatorid");
            return (Criteria) this;
        }

        public Criteria andCreatoridNotBetween(Long value1, Long value2) {
            addCriterion("creatorid not between", value1, value2, "creatorid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}